package com.sudo.common.utils;

import java.util.Map;

public class ThreadLocalUtil {
    private ThreadLocalUtil(){}
    public static final ThreadLocal<Map<String,Object>> tlMap = new ThreadLocal<>();

    public static void setTlMap(Map<String,Object> value){
        tlMap.set(value);
    }

    public static Map<String,Object> getTlMap(){
        return tlMap.get();
    }

    public static void removeTlMap(){
        tlMap.remove();
    }

}
